package com.yunkeji.system.domain.bo;

import com.yunkeji.common.core.validate.AddGroup;
import com.yunkeji.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.yunkeji.common.core.domain.BaseEntity;

/**
 * 礼物接收业务对象 ykj_gift_receive
 *
 * @author zhang
 * @date 2024-07-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class GiftReceiveBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 发送者id
     */
    @NotNull(message = "发送者id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sendUid;

    /**
     * 接收者id
     */
    @NotNull(message = "接收者id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long recUid;

    /**
     * 礼物id
     */
    @NotNull(message = "礼物id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long giftId;

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal price;

    /**
     * 礼物名称
     */
    @NotBlank(message = "礼物名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String giftName;

    /**
     * 图片
     */
    @NotBlank(message = "图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String giftImg;


}
